linux: No need to force pcibios_scan_all_fns() on modern Xen.
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 13 Mar 2007 13:28:26 +0000 (13:28 +0000)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Tue, 13 Mar 2007 13:28:26 +0000 (13:28 +0000)
Signed-off-by: Keir Fraser <keir@xensource.com>
linux-2.6-xen-sparse/include/asm-i386/mach-xen/asm/pci.h
linux-2.6-xen-sparse/include/asm-x86_64/mach-xen/asm/pci.h

index 584f65e17854fd65d503fd7892ea75b8a4294314..14c1d276297f6b4769f9125d99cccfc3a28765a8 100644 (file)
@@ -143,11 +143,4 @@ static inline void pci_dma_burst_advice(struct pci_dev *pdev,
 /* generic pci stuff */
 #include <asm-generic/pci.h>
 
-/* On Xen we have to scan all functions since Xen hides bridges from
- * us.  If a bridge is at fn=0 and that slot has a multifunction
- * device, we won't find the additional devices without scanning all
- * functions. */
-#undef pcibios_scan_all_fns
-#define pcibios_scan_all_fns(a, b)     1
-
 #endif /* __i386_PCI_H */
index 8ec15d931e4a7165d7ca211d761531d40ddc3190..764270fa4f0da9c25a7b014cbf5848df1ef7b52b 100644 (file)
@@ -163,11 +163,4 @@ static inline void pcibios_add_platform_entries(struct pci_dev *dev)
 #include <asm-generic/pci.h>
 #endif
 
-/* On Xen we have to scan all functions since Xen hides bridges from
- * us.  If a bridge is at fn=0 and that slot has a multifunction
- * device, we won't find the additional devices without scanning all
- * functions. */
-#undef pcibios_scan_all_fns
-#define pcibios_scan_all_fns(a, b)     1
-
 #endif /* __x8664_PCI_H */